@echo off

setlocal enabledelayedexpansion

set PYTHON_CACHE_DIR_PATH="%PYTHON_CACHE_DIR%"

if  %PYTHON_CACHE_DIR_PATH% == "" (

echo system variable PYTHON_CACHE_DIR is not defined ! 

echo please check again!"

@pause

exit /b
) 


for /l %%i in (0,0,0) do (
    
set /p "dep=please enter the dependency to pip install: "

    echo try to pip install : "!dep!" offline    

    uv pip install "!dep!" -f %PYTHON_CACHE_DIR_PATH% --offline --no-index

    echo.

)



@pause